<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Build Force Tomcat Maven Plugin - FindBugs Bug Detector Report</title>
    <style type="text/css" media="all">
      @import url("./css/maven-base.css");
      @import url("./css/maven-theme.css");
      @import url("./css/site.css");
    </style>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                    <span id="bannerLeft">
    
            Build Force Tomcat Maven Plugin
    
            </span>
                    <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2009-11-22
                      </div>
            <div class="xright">      
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                   <h5>Overview</h5>
            <ul>
              
    <li class="none">
                    <a href="index.html">Introduction</a>
          </li>
              
    <li class="none">
                    <a href="usage.html">Usage</a>
          </li>
              
    <li class="none">
                    <a href="apidocs/index.html">Javadoc</a>
          </li>
              
    <li class="none">
                    <a href="faq.html">FAQ</a>
          </li>
          </ul>
              <h5>Goals</h5>
            <ul>
              
    <li class="none">
                    <a href="plugin-info.html">Overview of Goals</a>
          </li>
              
    <li class="none">
                    <a href="examples/management.html">Management Goals</a>
          </li>
              
    <li class="none">
                    <a href="examples/deployment.html">Deployment Goals</a>
          </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-info.html">Project Information</a>
                </li>
              
                
              
      
            
      
            
      
            
            
            
      
            
      
            
      
            
      
              
            <li class="expanded">
                    <a href="project-reports.html">Project Reports</a>
                  <ul>
                  
    <li class="none">
                    <a href="checkstyle.html">Checkstyle</a>
          </li>
                  
    <li class="none">
                    <a href="cobertura/index.html">Cobertura Test Coverage</a>
          </li>
                  
    <li class="none">
                    <a href="overview.html">Dependency Overview</a>
          </li>
                  
    <li class="none">
              <strong>FindBugs Report</strong>
        </li>
                  
    <li class="none">
                    <a href="apidocs/index.html">JavaDocs</a>
          </li>
                  
    <li class="none">
                    <a href="jdepend-report.html">JDepend</a>
          </li>
                  
    <li class="none">
                    <a href="plugin-info.html">Plugin Documentation</a>
          </li>
                  
    <li class="none">
                    <a href="testapidocs/index.html">Test JavaDocs</a>
          </li>
              </ul>
        </li>
          </ul>
                                                 
                        
                        
            <a href="../../" title="Google Code" class="poweredBy">
                            <img alt="Google Code" src="images/code_logo.png" />
            </a>
                                
                        
                        
            <a href="http://maven.apache.org/" title="Maven" class="poweredBy">
                            <img alt="Maven" src="http://maven.apache.org/images/logos/maven-feather.png" />
            </a>
                               
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2>FindBugs Bug Detector Report</h2>
<p>The following document contains the results of <a class="externalLink" href="http://findbugs.sourceforge.net">FindBugs Report</a></p>
<p>FindBugs Version is <i>1.3.8</i></p>
<p>Threshold is <i>Low</i></p>
<p>Effort is <i>Default</i></p>
</div>
<div class="section"><h2>Summary</h2>
<table class="bodyTable"><tr class="a"><th>Classes</th>
<th>Bugs</th>
<th>Errors</th>
<th>Missing Classes</th>
</tr>
<tr class="b"><td>79</td>
<td>13</td>
<td>0</td>
<td>0</td>
</tr>
</table>
</div>
<div class="section"><h2>Files</h2>
<table class="bodyTable"><tr class="a"><th>Class</th>
<th>Bugs</th>
</tr>
<tr class="b"><td><a href="#org.buildforce.tomcat.TomcatManager">org.buildforce.tomcat.TomcatManager</a></td>
<td>3</td>
</tr>
<tr class="a"><td><a href="#org.buildforce.tomcat.mojos.management.AbstractTomcatMojo">org.buildforce.tomcat.mojos.management.AbstractTomcatMojo</a></td>
<td>2</td>
</tr>
<tr class="b"><td><a href="#org.buildforce.tomcat.mojos.management.CleanMojo">org.buildforce.tomcat.mojos.management.CleanMojo</a></td>
<td>7</td>
</tr>
<tr class="a"><td><a href="#org.buildforce.tomcat.util.FileSystemUtils">org.buildforce.tomcat.util.FileSystemUtils</a></td>
<td>1</td>
</tr>
</table>
</div>
<a name="org.buildforce.tomcat.TomcatManager"></a><div class="section"><h3>org.buildforce.tomcat.TomcatManager</h3>
<table class="bodyTable"><tr class="b"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="a"><td>Use of non-localized String.toUpperCase() or String.toLowerCase</td>
<td>I18N</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#DM_CONVERT_CASE">DM_CONVERT_CASE</a></td>
<td>197</td>
<td>Low</td>
</tr>
<tr class="b"><td>Use of non-localized String.toUpperCase() or String.toLowerCase</td>
<td>I18N</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#DM_CONVERT_CASE">DM_CONVERT_CASE</a></td>
<td>181</td>
<td>Low</td>
</tr>
<tr class="a"><td>Redundant nullcheck of ?, which is known to be non-null in org.buildforce.tomcat.TomcatManager.isTomcatHomeSet()</td>
<td>STYLE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE">RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE</a></td>
<td>221</td>
<td>Low</td>
</tr>
</table>
</div>
<a name="org.buildforce.tomcat.mojos.management.AbstractTomcatMojo"></a><div class="section"><h3>org.buildforce.tomcat.mojos.management.AbstractTomcatMojo</h3>
<table class="bodyTable"><tr class="b"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="a"><td>org.buildforce.tomcat.mojos.management.AbstractTomcatMojo.getResources() may expose internal representation by returning AbstractTomcatMojo.resources</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#EI_EXPOSE_REP">EI_EXPOSE_REP</a></td>
<td>71</td>
<td>Medium</td>
</tr>
<tr class="b"><td>org.buildforce.tomcat.mojos.management.AbstractTomcatMojo.setResources(Resource[]) may expose internal representation by storing an externally mutable object into AbstractTomcatMojo.resources</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#EI_EXPOSE_REP2">EI_EXPOSE_REP2</a></td>
<td>76</td>
<td>Medium</td>
</tr>
</table>
</div>
<a name="org.buildforce.tomcat.mojos.management.CleanMojo"></a><div class="section"><h3>org.buildforce.tomcat.mojos.management.CleanMojo</h3>
<table class="bodyTable"><tr class="a"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="b"><td>org.buildforce.tomcat.mojos.management.CleanMojo.EXCLUDES_LOGS should be package protected</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#MS_PKGPROTECT">MS_PKGPROTECT</a></td>
<td>24</td>
<td>Medium</td>
</tr>
<tr class="a"><td>org.buildforce.tomcat.mojos.management.CleanMojo.INCLUDES_LOGS should be package protected</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#MS_PKGPROTECT">MS_PKGPROTECT</a></td>
<td>23</td>
<td>Medium</td>
</tr>
<tr class="b"><td>org.buildforce.tomcat.mojos.management.CleanMojo.INCLUDES_DEFAULT should be package protected</td>
<td>MALICIOUS_CODE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#MS_PKGPROTECT">MS_PKGPROTECT</a></td>
<td>26</td>
<td>Low</td>
</tr>
<tr class="a"><td>org.buildforce.tomcat.mojos.management.CleanMojo.clearLogs() ignores exceptional return value of java.io.File.mkdirs()</td>
<td>BAD_PRACTICE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#RV_RETURN_VALUE_IGNORED_BAD_PRACTICE">RV_RETURN_VALUE_IGNORED_BAD_PRACTICE</a></td>
<td>78</td>
<td>Medium</td>
</tr>
<tr class="b"><td>org.buildforce.tomcat.mojos.management.CleanMojo.clearTemp() ignores exceptional return value of java.io.File.mkdirs()</td>
<td>BAD_PRACTICE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#RV_RETURN_VALUE_IGNORED_BAD_PRACTICE">RV_RETURN_VALUE_IGNORED_BAD_PRACTICE</a></td>
<td>91</td>
<td>Medium</td>
</tr>
<tr class="a"><td>org.buildforce.tomcat.mojos.management.CleanMojo.clearWebapps() ignores exceptional return value of java.io.File.mkdirs()</td>
<td>BAD_PRACTICE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#RV_RETURN_VALUE_IGNORED_BAD_PRACTICE">RV_RETURN_VALUE_IGNORED_BAD_PRACTICE</a></td>
<td>117</td>
<td>Medium</td>
</tr>
<tr class="b"><td>org.buildforce.tomcat.mojos.management.CleanMojo.clearWork() ignores exceptional return value of java.io.File.mkdirs()</td>
<td>BAD_PRACTICE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#RV_RETURN_VALUE_IGNORED_BAD_PRACTICE">RV_RETURN_VALUE_IGNORED_BAD_PRACTICE</a></td>
<td>104</td>
<td>Medium</td>
</tr>
</table>
</div>
<a name="org.buildforce.tomcat.util.FileSystemUtils"></a><div class="section"><h3>org.buildforce.tomcat.util.FileSystemUtils</h3>
<table class="bodyTable"><tr class="a"><th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th>
</tr>
<tr class="b"><td>org.buildforce.tomcat.util.FileSystemUtils.copyResources(Resource[], Log) ignores exceptional return value of java.io.File.mkdirs()</td>
<td>BAD_PRACTICE</td>
<td><a class="externalLink" href="http://findbugs.sourceforge.net/bugDescriptions.html#RV_RETURN_VALUE_IGNORED_BAD_PRACTICE">RV_RETURN_VALUE_IGNORED_BAD_PRACTICE</a></td>
<td>110</td>
<td>Medium</td>
</tr>
</table>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2009
    
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
